﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Promise Chaining</title>

    <link href="promisechaining.css" rel="stylesheet" />
    <script src="promisechaining.js"></script>
</head>
<body>
    <div class="promisechaining fragment">
        <section aria-label="Main content" role="main">
            <div class="explanation">Press Start to see the numbers 1-4 appear with a pause between each. If you look at the code for this demo, you'll see that chained promises are being used to accomplish this and you'll see the wrong way and the right way to chain your promises.</div>
            <button class="start">Start</button><button class="reset">Reset</button>
            <div class="log"></div>
        </section>
    </div>
</body>
</html>
